package com.bawei.park2302

import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
import com.alibaba.android.arouter.facade.annotation.Route
import com.bawei.lib_base.utils.utils.mvi.BaseViewActivity
import com.bawei.park2302.databinding.ActivityMainBinding
import dagger.hilt.android.AndroidEntryPoint

@Route(path = "/app/HomeActivity")
@AndroidEntryPoint
class HomeActivity : BaseViewActivity<ActivityMainBinding>() {
    override val binding: ActivityMainBinding by lazy {
        ActivityMainBinding.inflate(layoutInflater)
    }

    override fun initView() {
        val navHostFragment = supportFragmentManager.findFragmentById(R.id.fragmentContainerView) as NavHostFragment

        val navController = navHostFragment.navController

        binding.bottomProgressbar.setupWithNavController(navController)
    }

    override fun initData() {

    }
}